<%@ page import="com.lihuanyu.upcOA.conn.databaseUtil" %>
<%--
  Created by IntelliJ IDEA.
  User: skyADMIN
  Date: 15/9/3
  Time: 下午3:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  int uid = Integer.parseInt(request.getParameter("uid"));
  String sql = "delete from teacher_reg where uid="+uid;
  databaseUtil db = new databaseUtil();
  db.executeUpdate(sql);
  db.sqlclose();
%>
<script>
  alert("删除成功！");
  window.location.href="admin.jsp";
</script>

